package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 住院登记对象 t_admission_registration
 * 
 * @author 杨一迪
 * @date 2024-12-29
 */
@Data
public class TAdmissionRegistration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 住院登记表主键 */
    private Long id;

    /** 患者ID */
    @Excel(name = "患者ID")
    private Long patientId;

    /** 入院日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入院日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date admissionDate;

    /** 预计出院日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计出院日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date estimatedDischargeDate;

    /** 医生id */
    @Excel(name = "医生id")
    private Long doctorId;

    /** 护士id */
    @Excel(name = "护士id")
    private Long nurseId;

    /** 床位id */
    @Excel(name = "床位id")
    private Long bedId;

    /** 病房id */
    @Excel(name = "病房id")
    private Long wardId;

    /** 总费用 */
    @Excel(name = "总费用")
    private Double totalCost;

    /** 支付状态（0：未支付，1：已支付） */
    @Excel(name = "支付状态", readConverterExp = "0=：未支付，1：已支付")
    private Integer paymentStatus;

    /** 是否删除，0表示未删除，1表示已删除 */
    private Integer isDelete;


    @Excel(name = "状态")
    private Long status;

}
